-- GENERATED SPELL FOR [Thistlefur Totemic] --


function spell0_3922(pUnit, Event) --@Healing Ward,Self--
pUnit:FullCastSpellOnTarget(6274,pUnit)
pUnit:RegisterEvent('Sorts_3922', 32000, 1)
end

function Sorts_3922(pUnit, Event)
local choix_sorts_3922 = math.random(0, 0)
if choix_sorts_3922 == 0 then
pUnit:RegisterEvent('spell0_3922', 1, 1)
end
end

function mob3922_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_3922', math.random(1500, 3000), 1)
end

function mob3922_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3922_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3922_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(3922, 1, 'mob3922_Action')
RegisterUnitEvent(3922, 2, 'mob3922_Leave')
RegisterUnitEvent(3922, 3, 'mob3922_Kill')
RegisterUnitEvent(3922, 4, 'mob3922_Die')
